package com.d3works.apps.base.service;

import com.d3works.apps.base.db.Company;
import com.d3works.apps.base.db.Period;
import com.d3works.apps.base.db.Year;
import com.d3works.exception.D3worksException;
import java.time.LocalDate;
import java.util.List;

public interface YearService {

  public Year getYear(LocalDate date, Company company, Integer type);

  List<Period> generatePeriods(Year year) throws D3worksException;
}
